package day240324.e1;

public class PeopleWithAnimal {
    public static void main(String[] args) {
        People people1 = new People("Peo1");
        Animal pet1 = new Animal("Cat1", "Cat");
        people1.adopt(pet1);

        People people2 = new People("Peo2");
        Animal pet2 = new Animal("Cat2", "Dog");
        people2.adopt(pet2);

    }
}
